<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<form action="uploadtest" method="post" enctype="multipart/form-data">
    name:<input type="text" name="uname"><br>
    img:<input type="file" name="pic"><br>
    <input type="submit" value="上传">
</form>
</body>
</html>